package com.shop.entity;

import java.util.Objects;

//��Ʒ�ļ������
public class GoodsFourType {

    private int gfour_id;  //�ļ�����id
    private int gtt_id;    //��������id
    private String gfour_name;   //�ļ���������

    public int getGfour_id() {
        return gfour_id;
    }

    public void setGfour_id(int gfour_id) {
        this.gfour_id = gfour_id;
    }

    public int getGtt_id() {
        return gtt_id;
    }

    public void setGtt_id(int gtt_id) {
        this.gtt_id = gtt_id;
    }

    public String getGfour_name() {
        return gfour_name;
    }

    public void setGfour_name(String gfour_name) {
        this.gfour_name = gfour_name;
    }

    public GoodsFourType(int gfour_id, int gtt_id, String gfour_name) {
        this.gfour_id = gfour_id;
        this.gtt_id = gtt_id;
        this.gfour_name = gfour_name;
    }

    public GoodsFourType() {
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        GoodsFourType that = (GoodsFourType) o;
        return gfour_id == that.gfour_id &&
                gtt_id == that.gtt_id &&
                Objects.equals(gfour_name, that.gfour_name);
    }

    @Override
    public int hashCode() {
        return Objects.hash(gfour_id, gtt_id, gfour_name);
    }

    @Override
    public String toString() {
        return "GoodsFourType{" +
                "gfour_id=" + gfour_id +
                ", gtt_id=" + gtt_id +
                ", gfour_name='" + gfour_name + '\'' +
                '}';
    }


}
